const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  lintOnSave: false,
  // pages: {
  //   eventtype: {
  //     entry: './src/main.js',
  //     template: 'eventtype/index.vue'
  //   }
  // },
  publicPath: './',
  outputDir: './iot/item-manage/',
  indexPath: './maintenance.html',
  // 能耗测点维护
  // outputDir: './energy/points/',
  // indexPath:'./maintenance.html',
  // 计费测点维护
  // outputDir: './iot/item-manage/',
  // indexPath: './MbmDevice.html',
  devServer: {
    proxy: {
      '/biz/': {
        // target: 'https://www.hi3060.com',
        target: 'http://47.111.117.65',
        // target: 'http://10.49.208.200',
        changeOrigin: true
      }
    }
  }
})
